package createPattern.builderPattern.carSample;

public class Test {
	public static void main(String args[]) {
		DirectorCar director = new DirectorCar();
		FactoryBuilder builder = new FactoryBuilderBugatti();
		director.buyCar(builder, "MY");
		director.buyCar(builder, "MJY");
		builder = new FactoryBuilderPorsche();
		director.buyCar(builder, "MY");
		director.buyCar(builder, "MJY");
	}
}
